package com.ruoyi.order.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.EqualsAndHashCode;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 订单任务对象 t_order_task
 * 
 * @author DEREK
 * @date 2023-06-25
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_order_task")
public class OrderTask
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 相关业务ID */
    @Excel(name = "相关业务ID")
    private String relatedId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 执行状态0:未执行1:已执行 2:任务结束 */
    @Excel(name = "执行状态0:未执行1:已执行 2:任务结束")
    private Integer status;

    /** 类型
1.订单在规定时间内未支付 */
    @Excel(name = "类型1.订单在规定时间内未支付")
    private Integer type;

    private Date createTime;
    private Date updateTime;
    private String remark;
    private Long toUserId;
    private String extend;
}
